package com.byd.sealmanage.modal.po;

import com.byd.sealmanage.modal.bo.LayuiMenu;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.util.Set;

@Data
@Table(name = "tb_role")
public class TbRole {

    @Id
    private String roleId;

    private String roleName;

    private String roleSign;

    private String remark;

    private Date createTime;

    private String createBy;

    private Date updateTime;

    private String updateBy;

    private String state;

    //虚拟属性
    private Set<LayuiMenu> menus;

    //虚拟属性
    private Set<LayuiMenu> button;
}